-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel: Add python envoy_entry_point
#19450
Conversation
with eg
with
i opened an upstream issue here bazelbuild/rules_python#600 |
bee9bc5
to
85449c8
Compare
This extends the `rules_python` `entry_point` to allow data to be added to the sandbox, and args to pass the data to the tool. Signed-off-by: Ryan Northey <ryan@synca.io>
85449c8
to
d371022
Compare
this might be unnecessary, just thinking of another possible way to do it... |
which didnt work, so i think we want this PR |
/wait |
Signed-off-by: Ryan Northey <ryan@synca.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This is a follow up to use the macro added in #19450 for existing entry_points Also contains a fix to use a template to create the py_binary main to ensure the py_binary retains the path to the entry point Signed-off-by: Ryan Northey <ryan@synca.io>
This extends the rules_python entry_point to allow data to be added to the sandbox, and args to pass the data to the tool. Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: Josh Perry <josh.perry@mx.com>
This is a follow up to use the macro added in envoyproxy#19450 for existing entry_points Also contains a fix to use a template to create the py_binary main to ensure the py_binary retains the path to the entry point Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: Josh Perry <josh.perry@mx.com>
This extends the
rules_python
entry_point
to allow data to beadded to the sandbox, and args to pass the data to the tool.
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]